package com.engine.ld.functions.sap.gyszsj;

public class ZMM_VENDORDATA_MAINTAINProxy implements ZMM_VENDORDATA_MAINTAIN_PortType {
  private String _endpoint = null;
  private ZMM_VENDORDATA_MAINTAIN_PortType zMM_VENDORDATA_MAINTAIN_PortType = null;

  public ZMM_VENDORDATA_MAINTAINProxy() {
    _initZMM_VENDORDATA_MAINTAINProxy();
  }

  public ZMM_VENDORDATA_MAINTAINProxy(String endpoint) {
    _endpoint = endpoint;
    _initZMM_VENDORDATA_MAINTAINProxy();
  }

  private void _initZMM_VENDORDATA_MAINTAINProxy() {
    try {
      zMM_VENDORDATA_MAINTAIN_PortType = (new ZMM_VENDORDATA_MAINTAIN_ServiceLocator()).getZMM_VENDORDATA_MAINTAIN();
      if (zMM_VENDORDATA_MAINTAIN_PortType != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)zMM_VENDORDATA_MAINTAIN_PortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)zMM_VENDORDATA_MAINTAIN_PortType)._getProperty("javax.xml.rpc.service.endpoint.address");
      }

    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }

  public String getEndpoint() {
    return _endpoint;
  }

  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (zMM_VENDORDATA_MAINTAIN_PortType != null)
      ((javax.xml.rpc.Stub)zMM_VENDORDATA_MAINTAIN_PortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);

  }

  public ZMM_VENDORDATA_MAINTAIN_PortType getZMM_VENDORDATA_MAINTAIN_PortType() {
    if (zMM_VENDORDATA_MAINTAIN_PortType == null)
      _initZMM_VENDORDATA_MAINTAINProxy();
    return zMM_VENDORDATA_MAINTAIN_PortType;
  }

  public String ZMM_VENDORDATA_MAINTAIN(String i_DATA) throws java.rmi.RemoteException{
    if (zMM_VENDORDATA_MAINTAIN_PortType == null)
      _initZMM_VENDORDATA_MAINTAINProxy();
    return zMM_VENDORDATA_MAINTAIN_PortType.ZMM_VENDORDATA_MAINTAIN(i_DATA);
  }


}
